package com.easyedu.dean.entity.dto.request;

import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author mengranliu
 * @date 2022/3/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReqChangeBuilding {

     private int buildingId;
     private String buildName;
     private double X;
     private double Y;

     @NotNull(message = "修改类型不能为空")
     private ReqChangeType changeType;

     @NotNull(message = "建筑类型不能为空")
     private BuildingType buildingType;


     public enum BuildingType {
          Learn, Sleep
     }
}
